_SetTimeName = _this select 1;

_SetTime = "";

_animPerson = _this select 0;

if (_animPerson == "") exitwith { Hint "Some how there was an error check your scripts : or You need to select a name in the player list , if you wish to activate it on all players then click all players or select an indevidiual name to perform that action onto. then click EXECUTE.";};

if (_animPerson == "ALL PLAYERS") then {_animPerson = "";};
if (_animPerson == "EVERYONE BUT ME") then {_animPerson = "FUCKEMGRANDPAIHATEJEWS";};



// ----------------------------------//
switch (_SetTimeName) do
{
	case "0": 	// 
	{
	_SetTime = "[2010, 0, 0, 0, 0];";
	};
	case "1am": 	// 
	{
	_SetTime = "[2010, 0, 0, 1, 0];";
	};
	case "3am": 	// 
	{
	_SetTime = "[2010, 0, 0, 3, 0];";
	};
	case "5am": 	// 
	{
	_SetTime = "[2010, 0, 0, 5, 0];";
	};
	case "7am": 	// 
	{
	_SetTime = "[2010, 0, 0, 7, 0];";
	};
	case "9am": 	// 
	{
	_SetTime = "[2010, 0, 0, 9, 0];";
	};
	case "11am": 	// 
	{
	_SetTime = "[2010, 0, 0, 11, 0];";
	};
	case "13pm": 	// 
	{
	_SetTime = "[2010, 0, 0, 13, 0];";
	};
	case "15pm": 	// 
	{
	_SetTime = "[2010, 0, 0, 15, 0];";
	};
	case "17pm": 	// 
	{
	_SetTime = "[2010, 0, 0, 17, 0];";
	};
	case "19pm": 	// 
	{
	_SetTime = "[2010, 0, 0, 19, 0];";
	};
	case "21pm": 	// 
	{
	_SetTime = "[2010, 0, 0, 21, 0];";
	};
	case "23pm": 	// 
	{
	_SetTime = "[2010, 0, 0, 23, 0];";
	};
	//--------------------------------------------------------------//
	
};
fart = format["setDate, %1", _SetTime];
call compile fart;
//nil = [_animPerson, 4 ,_SetTime] execVM "wuat\scripts\Dwarden.sqf";